﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Commerce.Base.Presentation
{

    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(Object sender, EventArgs e)
        {
            Response.Write(HttpContext.Current.Request.Url.AbsolutePath);
        }

        protected void Page_PreInit(Object sender, EventArgs e)
        {
            HttpContext.Current.RewritePath(HttpContext.Current.Items[RequestModule.ORIGINAL_URL].ToString());
        }
    }
}
